package code

func ErrorCodToString(reasonCode string) string {
	switch reasonCode {
	case "1016":
		return "余额不足"
	case "1826":
		return "账单地址填写错误"
	case "1825":
		return "CVV有误"
	case "1874":
		return "卡片有效期有误"
	case "1841":
		return "超出消费限额"
	case "1864":
		return "地区限制"
	case "1832":
		return "MCC限制"
	case "1003":
		return "卡已冻结"
	case "1813":
		return "持卡人被冻结"
	case "1834":
		return "消费金额超过每周或每月限额"
	case "1817":
		return "已达到使用限制"
	case "1844":
		return "卡组织拒付"
	case "502":
		return "交易异常"
	case "97":
		return "交易超时"
	case "1880":
		return "发卡行身份认证未通过"
	case "1915":
		return "CVV不正确"
	case "1901":
		return "卡未激活"
	case "1806":
		return "卡未激活"
	default:
		return "未知错误"
	}
}
